<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>JSX2</title>
	<script src="../js/react.js"></script>
    <script src="../js/react-dom.js"></script>
    <script src="../js/browser.min.js"></script>
</head>
<body>
	<div id="example"></div>
	<script type="text/babel">
		var arr = [<h1 key='a'>Hello world</h1>, 
					<h2 key='b'>React is awesome</h2>];
		ReactDOM.render(
			<div>{arr}</div>,
			document.getElementById('example')
		);
	</script>
</body>
</html>